Optimal. Leaf size=330 \[ \frac {\left (2-\sqrt {3}\right ) \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}-2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{3 \sqrt {2} \sqrt [4]{3} a^{5/6} b^{2/3}}+\frac {\left (2-\sqrt {3}\right ) \tan ^{-1}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{6 \sqrt {2} \sqrt [4]{3} a^{5/6} b^{2/3}}+\frac {\left (2-\sqrt {3}\right ) \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{2 \sqrt {2} 3^{3/4} a^{5/6} b^{2/3}}-\frac {\left (2-\sqrt {3}\right ) \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {-a-b x^3}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{3 \sqrt {2} 3^{3/4} a^{5/6} b^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 330, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.027, Rules used = {501}
\begin {gather*} \frac {\left (2-\sqrt {3}\right ) \text {ArcTan}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}-2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{3 \sqrt {2} \sqrt [4]{3} a^{5/6} b^{2/3}}+\frac {\left (2-\sqrt {3}\right ) \text {ArcTan}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{6 \sqrt {2} \sqrt [4]{3} a^{5/6} b^{2/3}}+\frac {\left (2-\sqrt {3}\right ) \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{2 \sqrt {2} 3^{3/4} a^{5/6} b^{2/3}}-\frac {\left (2-\sqrt {3}\right ) \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {-a-b x^3}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{3 \sqrt {2} 3^{3/4} a^{5/6} b^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 501
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {-a-b x^3} \left (-2 \left (5+3 \sqrt {3}\right ) a-b x^3\right )} \, dx &=\frac {\left (2-\sqrt {3}\right ) \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}-2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{3 \sqrt {2} \sqrt [4]{3} a^{5/6} b^{2/3}}+\frac {\left (2-\sqrt {3}\right ) \tan ^{-1}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{6 \sqrt {2} \sqrt [4]{3} a^{5/6} b^{2/3}}+\frac {\left (2-\sqrt {3}\right ) \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a-b x^3}}\right )}{2 \sqrt {2} 3^{3/4} a^{5/6} b^{2/3}}-\frac {\left (2-\sqrt {3}\right ) \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {-a-b x^3}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{3 \sqrt {2} 3^{3/4} a^{5/6} b^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 10.05, size = 87, normalized size = 0.26 \begin {gather*} -\frac {x^2 \sqrt {1+\frac {b x^3}{a}} F_1\left (\frac {2}{3};\frac {1}{2},1;\frac {5}{3};-\frac {b x^3}{a},-\frac {b x^3}{10 a+6 \sqrt {3} a}\right )}{\left (20 a+12 \sqrt {3} a\right ) \sqrt {-a-b x^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.38, size = 541, normalized size = 1.64 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {x}{10 a \sqrt {- a - b x^{3}} + 6 \sqrt {3} a \sqrt {- a - b x^{3}} + b x^{3} \sqrt {- a - b x^{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int -\frac {x}{\sqrt {-b\,x^3-a}\,\left (b\,x^3+2\,a\,\left (3\,\sqrt {3}+5\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________